CREATE TABLE [dbo].[sjbc](
	[serial] [int] IDENTITY(1,1) NOT NULL,
	[d_date] [smalldatetime] NOT NULL,
	[b_time] [char](8) NOT NULL,
	[len] [char](8) NOT NULL,
	[fre] [varchar](50) NOT NULL,
	[s_time] [char](16) NOT NULL,
	[number] [char](10) NOT NULL,
	[g_num] [char](2) NOT NULL,
	[content] [varchar](30) NOT NULL,
	[belt] [char](12) NOT NULL,
	[cx] [int] NOT NULL,
	[rev_cx] [int] NOT NULL
) ON [PRIMARY]

CREATE TABLE [dbo].[bcwj](
	[serial] [int] IDENTITY(1,1) NOT NULL,
	[filename] [smalldatetime] NOT NULL,
	[mark] [char](2) NOT NULL
) ON [PRIMARY]

$stm = 'insert into sjbc(d_date,b_time,len,fre,s_time,number,g_num,content,belt,cx,rev_cx) 
vlaue(:d_date,:b_time,:len,:fre,:s_time,:number,:g_num,:content,:belt,:cx,:rev_cx)'